home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / 0utils.lha / 0Utils / Exists.doc < prev    next >
Text File  |  1995-09-05  |  1KB  |  72 lines

  1.  
  2.  
  3.  
  4.     NAME
  5.     Exists
  6.  
  7.     SYNOPSIS
  8.     Exists -  determine, if a file exists  - Requires v37
  9.  
  10.     INPUTS
  11.     "FILE/A,NAME/S,FULL/S"
  12.  
  13.     DESCRIPTION
  14.  
  15.     Get one filename on Commandline
  16.     and write to StdOut if it exists
  17.  
  18.     Exists gets a filename and outputs if it exists.
  19.  
  20.     The resulting string is sent to STDOUT.
  21.  
  22.     RESULT
  23.     if NAME is set the filename if the file exists,
  24.     or empty string if not else 1/0
  25.     
  26.  
  27.     
  28.         
  29.  
  30.     NOTES
  31.     * CLI - only
  32.  
  33.     * should compile with SAS-C
  34.     
  35.  
  36.     BUGS
  37.  
  38.     We use 'Lock' to check the file, so an exclusively
  39.     locked file is not recognized.
  40.  
  41.     We currently do not set ERROR_FILE_NOT_FOUND if
  42.     Exists does not find a file
  43.     
  44.  
  45.     EXAMPLES
  46.  
  47.     >Exists Sys:
  48.     1
  49.  
  50.     >Exists c:copy NAME
  51.     c:copy
  52.  
  53.     >Exists jabba:the:hutt
  54.     0
  55.     
  56.  
  57.     HISTORY
  58.  
  59.     20-03-94 b_noll created
  60.     03-02-95 b_noll created (had forgotten the first version =8-})
  61.     11-02-95 b_noll added FULL Keyword
  62.     20-02-95 b_noll restructured source
  63.     21-02-95 b_noll added version/format-prefix/offset
  64.     20-03-95 b_noll added args diagnostics
  65.     19-08-95 b_noll created .data file
  66.     
  67.  
  68.     AUTHOR
  69.     Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
  70.     noll@student.uni-kl.de
  71.  
  72.